package com.lrkj.lease.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 甲方信息管理对象 tb_first_party
 *
 * @author yajun_ren
 * @date 2022-04-27
 */
@Data
public class FirstParty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private String id;

    /** 合同类型ID */
    @Excel(name = "合同类型ID")
    private String contractCategoryId;

    /** 甲方名称 */
    @Excel(name = "甲方名称")
    private String partyName;

    /** 甲方手机号 */
    @Excel(name = "甲方手机号")
    private String partyPhone;

    /** 联系人 */
    @Excel(name = "联系人")
    private String partyContacts;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private String whereDefault;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractCategoryId", getContractCategoryId())
            .append("partyName", getPartyName())
            .append("partyPhone", getPartyPhone())
            .append("partyContacts", getPartyContacts())
            .append("whereDefault", getWhereDefault())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
